<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Program Flow Control</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="ControlTop.html" title="Instrument Control" />
    <link rel="prev" href="ControlInvocat.html" title="Instrument Invocation" />
    <link rel="next" href="ControlRealtime.html" title="Real-time Performance Control" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Program Flow Control</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="ControlInvocat.html">Prev</a> </td>
          <th width="60%" align="center">Instrument Control</th>
          <td width="20%" align="right"> <a accesskey="n" href="ControlRealtime.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="section">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title" style="clear: both"><a id="ControlPgmctl"></a>Program Flow Control</h2>
          </div>
        </div>
      </div>
      <p>
    The opcodes to manipulate which orchestra statements are executed are:
  </p>
      <div class="itemizedlist">
        <ul class="itemizedlist" style="list-style-type: disc; ">
          <li class="listitem">
            <p>
              <a class="link" href="cggoto.html" title="cggoto">
                <em class="citetitle">cggoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="cigoto.html" title="cigoto">
                <em class="citetitle">cigoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="ckgoto.html" title="ckgoto">
                <em class="citetitle">ckgoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="cngoto.html" title="cngoto">
                <em class="citetitle">cngoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="elseif.html" title="elseif">
                <em class="citetitle">elseif</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="else.html" title="else">
                <em class="citetitle">else</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="endif.html" title="endif">
                <em class="citetitle">endif</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="goto.html" title="goto">
                <em class="citetitle">goto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="if.html" title="if">
                <em class="citetitle">if</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="igoto.html" title="igoto">
                <em class="citetitle">igoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="kgoto.html" title="kgoto">
                <em class="citetitle">kgoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="tigoto.html" title="tigoto">
                <em class="citetitle">tigoto</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="timout.html" title="timout">
                <em class="citetitle">timout</em>
              </a>
            </p>
          </li>
        </ul>
      </div>
      <p>
    Opcodes to create looping constructions are:
  </p>
      <div class="itemizedlist">
        <ul class="itemizedlist" style="list-style-type: disc; ">
          <li class="listitem">
            <p>
              <a class="link" href="loop_ge.html" title="loop_ge">
                <em class="citetitle">loop_ge</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loop_gt.html" title="loop_gt">
                <em class="citetitle">loop_gt</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loop_le.html" title="loop_le">
                <em class="citetitle">loop_le</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="loop_lt.html" title="loop_lt">
                <em class="citetitle">loop_lt</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="until.html" title="until">
                <em class="citetitle">until</em>
              </a>
            </p>
          </li>
          <li class="listitem">
            <p>
              <a class="link" href="while.html" title="while">
                <em class="citetitle">while</em>
              </a>
            </p>
          </li>
        </ul>
      </div>
      <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
        <table border="0" summary="Warning">
          <tr>
            <td rowspan="2" align="center" valign="top" width="25">
              <img alt="[Warning]" src="images/warning.png" />
            </td>
            <th align="left">Warning</th>
          </tr>
          <tr>
            <td align="left" valign="top">
              <p>Some of these opcodes work at i-rate even if they contain k- or a- rate comparisons. See the <a class="link" href="ControlReinitn.html" title="Initialization and Reinitialization"><em class="citetitle">Reinitialization</em></a> section.</p>
            </td>
          </tr>
        </table>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="ControlInvocat.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="ControlTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="ControlRealtime.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Instrument Invocation </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Real-time Performance Control</td>
        </tr>
      </table>
    </div>
  </body>
</html>
